file chooser: Clear busy cursor before showing error
authorMatthias Clasen <mclasen@redhat.com>
Fri, 2 Oct 2015 10:57:05 +0000 (06:57 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 2 Oct 2015 10:57:05 +0000 (06:57 -0400)
It looks odd to still have a busy cursor while the error
dialog is presented.

gtk/gtkfilechooserwidget.c

index 1c9e642950afdf0810d0233f020eb85f3f065854..21bca9682824e98bad19fc09362d73ac4a11b68a 100644 (file)
@@ -4646,7 +4646,10 @@ browse_files_model_finished_loading_cb (GtkFileSystemModel   *model,
   profile_start ("start", NULL);
 
   if (error)
-    show_error_on_reading_current_folder (impl, error);
+    {
+      set_busy_cursor (impl, FALSE);
+      show_error_on_reading_current_folder (impl, error);
+    }
 
   if (priv->load_state == LOAD_PRELOAD)
     {